package com.FanXin;

import java.util.ArrayList;

public class Demo01 {
    public static void main(String[] args) {
        ArrayList<String> deas = deas(new ArrayList<String>(), "s", "a", "e", "y");
        System.out.println(deas);
    }

    public static <T> ArrayList<T> deas(ArrayList<T> list, T c1, T c2, T c3, T c4) {
        list.add(c1);
        list.add(c2);
        list.add(c3);
        list.add(c4);
        return list;
    }
}
